package cn.xiyun.xiyuncc.vo;

import cn.xiyun.xiyuncc.result.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class PageListVO<T> extends PageList<T> {

    private Object aggMap;

    public PageListVO(Object aggMap) {
        this.aggMap = aggMap;
    }

    public PageListVO(Long total, List rows, Object aggMap) {
        super(total, rows);
        this.aggMap = aggMap;
    }
}
